/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dancrawler.sound;

import java.io.IOException;
import java.net.URLDecoder;
import java.net.UnknownHostException;
/**
 *
 * @author Team 4 RMI, HINGDA10
 */
public class Main {
    /**
   *
   * @param args
   * @throws UnknownHostException
   * @throws IOException
   */
  public static void main(String[] args) throws UnknownHostException, IOException {
    SoundBank sb = new SoundBank();
    URLDecoder ud = new URLDecoder();
    String filename = ud.decode(sb.getClass().getResource("/res/sounds/Oddbounce.ogg").toString(), "UTF-8").replace("file:/","");
    System.out.println(filename);
// HALLO
    sb.PlaySound("ATTACK_1");
    sb.PlaySound("ATTACK_1");
  }
}
